#!/usr/bin/env python
#
# Python program to submit a list of sites to the batch queue.
# Setup for: cheyenne, yellowstone, edison
#
from PTCLMsublist_prog import PTCLMsublist_prog

bsub = PTCLMsublist_prog()
bsub.parse_cmdline_args()
print "Submit a list of sites to the batch queue\n"
bsub.Initialize()

for site in bsub.get_SiteList():
    print "Submit for site: "+site+"\n";
    bsub.Submit( site )
  
